package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 物流跟进申请表 INFO实体
 *
 * @author default
 * @date 2022-12-16
 */
@Data
public class LogisticsTraceApplyOrderInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="申请单号")
    private String applyOrderNo;

    @Schema(description ="枚举 订单类型:1-入库(t1)|2-出库(t2)")
    private Integer orderType;

    @Schema(description ="枚举 入库状态:1-申请(s1)|2-处理中(s2)|3-完成(s3)|4-取消(s4)")
    private Integer orderStatus;

    @Schema(description ="原始单号")
    private String sourceOrderNo;

    @Schema(description ="原始详单号")
    private String sourceDetailOrderNo;

    @Schema(description ="原始订单类型")
    private String sourceOrderType;

    @Schema(description ="科目")
    private String subject;

    @Schema(description ="商品SKU")
    private String mateSku;

    @Schema(description ="枚举 库存类型:1-正品(zp)|2-瑕疵(cc)")
    private Integer inventoryType;

    @Schema(description ="申请数量")
    private Integer applyInQty;

    @Schema(description ="初始分仓编码")
    private String sourceSubWarehouseCode;

    @Schema(description ="初始分仓名称")
    private String sourceSubWarehouseName;

    @Schema(description ="渠道")
    private String saleSubChannel;

    @Schema(description ="库存ID")
    private Long mateInventoryId;

    @Schema(description ="采购批次")
    private String purchaseCode;

    @Schema(description ="生产批次")
    private String produceCode;

    @Schema(description ="采购单号")
    private String purchaseOrderNo;

    @Schema(description ="采购详单号")
    private String purchaseDetailOrderNo;

    @Schema(description ="成本单价")
    private BigDecimal costPrice;

    @Schema(description ="目的分仓编码")
    private String targetSubWarehouseCode;

    @Schema(description ="目的分仓名称")
    private String targetSubWarehouseName;

    @Schema(description ="申请人账号")
    private String createUserCode;

    @Schema(description ="申请人名称")
    private String createUserName;

    @Schema(description ="相关单位编码")
    private String companyCode;

    @Schema(description ="相关单位名称")
    private String companyName;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;


}
